home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / bbsutil / ckit210.zip / HISTORY < prev    next >
Text File  |  1991-12-22  |  29KB  |  661 lines

  1.                                  RELEASE HISTORY
  2.                                  =============== 
  3. 12-15-91 v2.10
  4.  
  5. -  Changed the way CKIT was handling the speaker beep
  6.    on keyboard timeout beeps.
  7.  
  8. -  Added ck_NOSYSTEM.  When TRUE, tells CKIT open_door() not
  9.    not to expect a filename but a pointer to a structure
  10.    for it's information.  The structure is typed in ckit.h as
  11.  
  12.    typedef struct ckitgeneric {
  13.     char port[6];                   /* COM:X  COM0: equals local  */
  14.     short min_left;                 /* minutes left */
  15.    };
  16.  
  17.    This will allow your door program to read any BBS system file
  18.    and pass the information CKIT needs thru the structure.
  19.    open_door() will still accept the port:AAAA:X.
  20.  
  21.  
  22.    If you don't need this, then no changes are necassary in your source
  23.    code.  However, if you would like make your door compatible with a
  24.    BBS system that CKIT does not support (such as WWIV), then you
  25.    can read the WWIV file, fill in the appropriate CKIT variables
  26.    (ck_fullname, ck_ckit, etc) and the ckitgeneric structure with
  27.    the port and minutes left.  Then set CK_NOSYSTEM = TRUE, and call
  28.    open_door().  You should fill in ck_fullname, ck_baud etc before
  29.    you call open_door() so that the status line will contain the
  30.    proper information.  If you don't, it won't hurt anything and
  31.    CKIT will pick it anyway the next time it updates the status line.
  32.    (either after one minute or by typing ALT-H to scroll thru).
  33.    Be careful you pay attention to the size of the CKIT arrays that
  34.    you will be filling in and you don't exceed them.  For instance,
  35.    ck_fullname is declared as ck_fullname[26] (including null).
  36.    Check the docs for the size/types of the variables.
  37.  
  38. - Added ck_NO_FKEYS.  When TRUE it will disable the local
  39.   sysop keyboard F-keys and ALT keys except for ALT-H.
  40.   Default is FALSE. (F-keys enabled)
  41.  
  42. - Change set_kybd_time() so that each call to it zeros the
  43.   present keyboard timer time
  44.  
  45. - A big one here.  I think I finally tracked down the cause
  46.   of CKIT suddenly hanging at times up while transmitting
  47.   for no reason while it was apprently waiting on CTS when
  48.   CTS  was OK.  I finally managed to duplicate it repeatly and
  49.   found the cause.
  50.  
  51. - Fix a bug were a if you specified USERSFILE=TRUE and there
  52.   was an error opening the users file, it trashed a register
  53.   internally that shouldn't have gotten trashed.  Under normal
  54.   conditions it would not have affected anything. (if the users
  55.   file was opened OK).
  56.  
  57. - If Ckit finds a generic.sys file in use, it will no longer ask
  58.   for the person's first and last name.  You will have to add this
  59.   to your program to do so. i.e.
  60.           if(GENERIC) {
  61.             newline();
  62.             s_puts("Please enter first and last name (MAX 25) ->");
  63.             get_cmdline_raw(45);
  64.             strncpy(fullname, cmdline, 25);
  65.         }
  66.  
  67. - New variable added called short ck_silent.  This variable when TRUE
  68.   will prevent keyboard timeout beeps from being sent to the local
  69.   console.  It can be set/reset manual thru your program and it will
  70.   also following the setting of F7 for PCBoard systems. (caller alarm toggle).
  71.  
  72. - Fixed some ANSI strings in the library so that it will no longer
  73.   attempt to set background color to black.  This should make things
  74.   a little easier for people using background colors other than black
  75.   and will allow you to only change the foreground colors (leaving the
  76.   background alone) when using ck_color();.
  77.  
  78. - Ckit was not always picking the node number up correctly from
  79.   DORINFOx.DEF files. (x being the node number).  Fixed.
  80.  
  81. 09-25-91 v2.08
  82.  
  83. -   Changed ck_DOTS operation.
  84.     Setting ck_DOTS = char will cause char to be echoed to the
  85.     remote/local console.  ck_DOTS = NULL cancels.
  86.  
  87. -   ck_system_time_used() was prototyped incorrectly in ckit.h
  88.     as ck_system_time_left().  Fixed.
  89.  
  90. -   Some variables in ckit.h did not have the "ck_" prefixed
  91.     to the variable name.  Fixed.
  92.  
  93. -   Added support to MBBS systems. (PCBoard clone found in largely Europe).
  94.  
  95. -   Changed ck_set_ANSI() to accept TRUE/FALSE (short) depending
  96.     whether or not the user wanted to turn ANSI compability ON or OFF.
  97.     The previous ck_set_ANSI() toggled this setting.  The prototype
  98.     for ck_set_ANSI is now -  short  ck_set_ANSI(short) where the short
  99.     is either TRUE/FALSE.  (1 or 0).  It returns whatever you pass it.
  100.  
  101.     Why is this routine necassary?   When C-kit first opens a system file
  102.     it determines from the file whether the wanted the user wants
  103.     ANSI control, (ansi_NG will be set, GRAPHICS FALSE) OR if they wanted
  104.     ANSI control with graphics (ansi_NG false, GRAPHICS TRUE).  To save
  105.     code size and execution time in the internal library rountines
  106.     (such as ck_pos_cursor etc) , there is only one internal variable
  107.     that C-kit checks to see if ANSI was desired.  This routine only becomes
  108.     necassary when a user of your door is using generic.sys.  The
  109.     generic.sys has no way of knowing whether the user wanted ANSI or
  110.     has ANSI selected.   If the door program detects that a generic.sys
  111.     file is being used, it should then stop and ask if the user desires
  112.     ANSI control and if the user wants ANSI control with color.
  113.     set ansi_ng TRUE, graphics FALSE  and ck_set_ANSI(TRUE)  (ansi w/o color)
  114.     set ansi_ng FALSE, graphics TRUE  and ck_set_ANSI(TRUE)  (ansi w/color)
  115.     set ansi_ng FALSE, graphics FALSE and ck_set_ANSI(FALSE) (no ansi)
  116.  
  117.     Notice that ck_set_ANSI() is the logical OR'ing of the other two
  118.     variables (ansi_ng and graphics) which is what C-kit does at the
  119.     begining of a door.  That way instead of doing this each time
  120.     routines such as ck_pos_cursor() etc.. is called it only has to
  121.     check one variable making the code smaller and faster.
  122.  
  123. -   Changed ck_dos_shell() to use the spawnlp() funtion in C.
  124.     The syntax for ck_dos_shell() has changed.  It is now
  125.     prototyped as ck_dos_shell(char *, char *); where
  126.     the 1st string pointer is the program to execute and
  127.     the 2nd string pointer is the command line arguments
  128.     to be passed to the program. Example taken from
  129.     CKITDEMO.C.  It should return an error level correctly
  130.     now reguardless of which compiler you are using.
  131.     The max. DOS limit for the length of cmd line arguments
  132.     is 128 chars so the 2nd string pointer should not exceed this.
  133.  
  134.    void    filexfer(void) {
  135.    sprintf(zmodem_cmds, "portx %X,%X pB4096 pa3000 handshake cts sz %s", \
  136.             uart_base, irq, doc_filename);
  137.     if(dos_shell("dsz", zmodem_cmds)) {
  138.         s_puts("\n\aTransfer aborted");
  139.     } else {
  140.         s_puts("\nTransfer complete");
  141.     }
  142.  
  143. -   There was a minor change in the ckit.h file under the
  144.     users structure.  Added user.packed_byte after user.protocol.
  145.     This location had not been used in previos PCBoard releases.
  146.     Changed ck_user.last_read to ck_user.last_read[39] in
  147.     user file structure.
  148.  
  149. -   Yes, Gary, you no longer have to use word alignment when using
  150.     the user structure or ck_update_user() function!.  This means
  151.     also that Microsoft C users will need to add the Zp1 switch
  152.     on the command line.  Zp1 tells MSC to pack structures on
  153.     1 (BYTE) bounderies.
  154.  
  155. 08-18-91 v2.0
  156.  
  157. -   It is not necassary to use WORD alignment EXCEPT if you
  158.     plan on using the user structure or the update_user() function.
  159.     Otherwise, BYTE or WORD alignment should work OK.
  160.  
  161. -   Added the short ck_system_time_used(void); function.
  162.  
  163. -   ALL ckit's variables/functions now begin with the letters "ck_"
  164.     See upgrade file.
  165.  
  166.  -  Added ck_DOTS.  This will cause dots "." to be echoed to
  167.     the screen when true and using one of the keyboard inputs.
  168.  
  169.  -  Fixed fullname so that it will display more than 2 names for
  170.     PCBboard 14.5.
  171.  
  172.  -  Ckit will no longer exit your program on it's own.  If open_door()
  173.     fails, it will now return an error code based what the problem it
  174.     had.  If open_door() is successful,  it will return a NULL.
  175.     The error codes are as follows:
  176.      ==========
  177.